<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: apps/in_hand_scanner/include/pcl/apps/in_hand_scanner/opengl_viewer.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('opengl__viewer_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">opengl_viewer.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Software License Agreement (BSD License)</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Point Cloud Library (PCL) - www.pointclouds.org</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Copyright (c) 2009-2012, Willow Garage, Inc.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * Copyright (c) 2012-, Open Perception, Inc.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * are met:</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *  * Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *  * Redistributions in binary form must reproduce the above</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    copyright notice, this list of conditions and the following</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    disclaimer in the documentation and/or other materials provided</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *    with the distribution.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *  * Neither the name of the copyright holder(s) nor the names of its</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    contributors may be used to endorse or promote products derived</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    from this software without specific prior written permission.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"> * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> * POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> * $Id$</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#ifndef PCL_APPS_IN_HAND_SCANNER_OPENGL_VIEWER_H</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#define PCL_APPS_IN_HAND_SCANNER_OPENGL_VIEWER_H</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &lt;QGLWidget&gt;</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &lt;pcl/pcl_exports.h&gt;</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="common_2time_8h.html">pcl/common/time.h</a>&gt;</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &lt;pcl/apps/in_hand_scanner/boost.h&gt;</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#include &lt;pcl/apps/in_hand_scanner/common_types.h&gt;</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#include &lt;pcl/apps/in_hand_scanner/eigen.h&gt;</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">namespace </span>pcl</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <span class="keyword">namespace </span>ihs</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;  {</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">namespace </span>detail</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    {</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html">   64</a></span>&#160;      <span class="keyword">class </span><a class="code" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html">FaceVertexMesh</a></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;      {</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh_1_1_triangle.html">   68</a></span>&#160;          <span class="keyword">class </span><a class="code" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh_1_1_triangle.html">Triangle</a></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;          {</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;            <span class="keyword">public</span>:</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;              <a class="code" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh_1_1_triangle.html">Triangle</a> () : first (0), second (0), third (0) {}</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;              <a class="code" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh_1_1_triangle.html">Triangle</a> (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> first, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> second, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> third)</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;                : first (first), second (second), third (third)</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;              {</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;              }</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;              <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> first;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;              <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> second;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;              <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> third;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;          };</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html#a87bcad9d2480e9720bea894f4638c825">   84</a></span>&#160;          <a class="code" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html#a87bcad9d2480e9720bea894f4638c825">FaceVertexMesh</a> ();</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html#a785e09e17b62acba14a96212f43df019">   87</a></span>&#160;          <a class="code" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html#a785e09e17b62acba14a96212f43df019">FaceVertexMesh</a> (<span class="keyword">const</span> <a class="code" href="class_mesh.html">Mesh</a>&amp; mesh, <span class="keyword">const</span> Eigen::Isometry3d&amp; T);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;          <span class="keyword">typedef</span> <a class="code" href="structpcl_1_1ihs_1_1_point_i_h_s.html">pcl::ihs::PointIHS</a>         <a class="code" href="structpcl_1_1ihs_1_1_point_i_h_s.html">PointIHS</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;          <span class="keyword">typedef</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::ihs::CloudIHS</a>         <a class="code" href="classpcl_1_1_point_cloud.html">CloudIHS</a>;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;          <span class="keyword">typedef</span> pcl::ihs::CloudIHSPtr      CloudIHSPtr;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;          <span class="keyword">typedef</span> pcl::ihs::CloudIHSConstPtr CloudIHSConstPtr;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;          <a class="code" href="classpcl_1_1_point_cloud.html">CloudIHS</a>               vertices;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;          std::vector &lt;Triangle&gt; triangles;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;          Eigen::Isometry3d      transformation;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;          EIGEN_MAKE_ALIGNED_OPERATOR_NEW</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;      };</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    } <span class="comment">// End namespace detail</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html">  107</a></span>&#160;    <span class="keyword">class </span>PCL_EXPORTS <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html">OpenGLViewer</a> : <span class="keyword">public</span> QGLWidget</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    {</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;      Q_OBJECT</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;      <span class="keyword">public</span>:</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <span class="keyword">typedef</span> <a class="code" href="structpcl_1_1_point_x_y_z_r_g_b_normal.html">pcl::PointXYZRGBNormal</a>              <a class="code" href="structpcl_1_1_point_x_y_z_r_g_b_normal.html">PointXYZRGBNormal</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        <span class="keyword">typedef</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud &lt;PointXYZRGBNormal&gt;</a> <a class="code" href="classpcl_1_1_point_cloud.html">CloudXYZRGBNormal</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        <span class="keyword">typedef</span> CloudXYZRGBNormal::Ptr              CloudXYZRGBNormalPtr;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        <span class="keyword">typedef</span> CloudXYZRGBNormal::ConstPtr         CloudXYZRGBNormalConstPtr;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        <span class="keyword">typedef</span> pcl::ihs::Mesh         <a class="code" href="class_mesh.html">Mesh</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <span class="keyword">typedef</span> pcl::ihs::MeshPtr      MeshPtr;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        <span class="keyword">typedef</span> pcl::ihs::MeshConstPtr MeshConstPtr;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5d">  123</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5d">MeshRepresentation</a></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        {</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5daa0b9aaec861866f0a223fc2e41eee025">  125</a></span>&#160;          <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5daa0b9aaec861866f0a223fc2e41eee025">MR_POINTS</a>, </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5da98ae60aa71684a2b547744fae84dc939">  126</a></span>&#160;          <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5da98ae60aa71684a2b547744fae84dc939">MR_EDGES</a>,  </div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;          MR_FACES   </div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#afafdbf4cb152c15e55ab9ff733fd6bdf">  128</a></span>&#160;        } MeshRepresentation;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2a">  131</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2a">Coloring</a></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        {</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2aacaf9ac71c28e99e03dfec3b97472087f">  133</a></span>&#160;          <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2aacaf9ac71c28e99e03dfec3b97472087f">COL_RGB</a>,       </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2aa31f100dcb00293f323b99c63f22f3a06">  134</a></span>&#160;          <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2aa31f100dcb00293f323b99c63f22f3a06">COL_ONE_COLOR</a>, </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;          COL_VISCONF    </div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2aa012b85091f1ab57dda6c6721fca17508">  136</a></span>&#160;        } Coloring;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_box_coefficients.html">  139</a></span>&#160;        <span class="keyword">class </span><a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_box_coefficients.html">BoxCoefficients</a></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        {</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;          <span class="keyword">public</span>:</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;            <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_box_coefficients.html">BoxCoefficients</a> ()</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;              : x_min (0), x_max (0),</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;                y_min (0), y_max (0),</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                z_min (0), z_max (0),</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                transformation (Eigen::Isometry3d::Identity ())</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;            {</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;            }</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;            <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_box_coefficients.html">BoxCoefficients</a> (<span class="keyword">const</span> <span class="keywordtype">float</span> x_min, <span class="keyword">const</span> <span class="keywordtype">float</span> x_max,</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">float</span> y_min, <span class="keyword">const</span> <span class="keywordtype">float</span> y_max,</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                             <span class="keyword">const</span> <span class="keywordtype">float</span> z_min, <span class="keyword">const</span> <span class="keywordtype">float</span> z_max,</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;                             <span class="keyword">const</span> Eigen::Isometry3d&amp; T)</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;              : x_min (x_min), x_max (x_max),</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;                y_min (y_min), y_max (y_max),</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;                z_min (z_min), z_max (z_max),</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                transformation (T)</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;            }</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;            <span class="keywordtype">float</span> x_min; <span class="keywordtype">float</span> x_max;</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;            <span class="keywordtype">float</span> y_min; <span class="keywordtype">float</span> y_max;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;            <span class="keywordtype">float</span> z_min; <span class="keywordtype">float</span> z_max;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;            Eigen::Isometry3d transformation;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;          <span class="keyword">public</span>:</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            EIGEN_MAKE_ALIGNED_OPERATOR_NEW</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        };</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a3cd39f509a3f522269a6ff2bbb2b0a5c">  173</a></span>&#160;        <span class="keyword">explicit</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a3cd39f509a3f522269a6ff2bbb2b0a5c">OpenGLViewer</a> (QWidget* parent=0);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a17c68b4773e6ba251ce21400e8c95090">  176</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a17c68b4773e6ba251ce21400e8c95090">~OpenGLViewer</a> ();</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a0ce727785092d0b94a0c8372147efefa">  186</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a0ce727785092d0b94a0c8372147efefa">addMesh</a> (<span class="keyword">const</span> MeshConstPtr&amp; mesh, <span class="keyword">const</span> std::string&amp; <span class="keywordtype">id</span>, <span class="keyword">const</span> Eigen::Isometry3d&amp; T = Eigen::Isometry3d::Identity ());</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a62abfdf0d01ef03f72b1e44849b99bc1">  196</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a62abfdf0d01ef03f72b1e44849b99bc1">addMesh</a> (<span class="keyword">const</span> CloudXYZRGBNormalConstPtr&amp; cloud, <span class="keyword">const</span> std::string&amp; <span class="keywordtype">id</span>, <span class="keyword">const</span> Eigen::Isometry3d&amp; T = Eigen::Isometry3d::Identity ());</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac2bfcd7f6b8663552d5d92542c3a8a91">  203</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac2bfcd7f6b8663552d5d92542c3a8a91">removeMesh</a> (<span class="keyword">const</span> std::string&amp; <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a783683d28b1badb70e2046d285914385">  207</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a783683d28b1badb70e2046d285914385">removeAllMeshes</a> ();</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160; </div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a823c4d8e2460b71cb11c24241250eb1b">  211</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a823c4d8e2460b71cb11c24241250eb1b">setBoxCoefficients</a> (<span class="keyword">const</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_box_coefficients.html">BoxCoefficients</a>&amp; coeffs);</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac00ff8b3177b50bdd144be62789ef3d1">  215</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac00ff8b3177b50bdd144be62789ef3d1">setDrawBox</a> (<span class="keyword">const</span> <span class="keywordtype">bool</span> enabled);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a21235013292e15286e59080f3f6ac766">  219</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a21235013292e15286e59080f3f6ac766">getDrawBox</a> () <span class="keyword">const</span>;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a23a40273b9993286c63a5546440c68c8">  223</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a23a40273b9993286c63a5546440c68c8">setPivot</a> (<span class="keyword">const</span> Eigen::Vector3d&amp; pivot);</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ad055ccfc24cac9e61328368cfe54bdbb">  229</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ad055ccfc24cac9e61328368cfe54bdbb">setPivot</a> (<span class="keyword">const</span> std::string&amp; <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#af0d83bcc6f2efb1662ff3d15512cd29d">  233</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#af0d83bcc6f2efb1662ff3d15512cd29d">stopTimer</a> ();</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6cef087e01bdd8684d810afa379d0a66">  237</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6cef087e01bdd8684d810afa379d0a66">setVisibilityConfidenceNormalization</a> (<span class="keyword">const</span> <span class="keywordtype">float</span> vis_conf_norm);</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        <span class="keyword">virtual</span> QSize</div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7e998f6b14529e76ee7fc44d14b19cd6">  241</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7e998f6b14529e76ee7fc44d14b19cd6">minimumSizeHint</a> () <span class="keyword">const</span>;</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160; </div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        <span class="keyword">virtual</span> QSize</div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a1070b3d16312e080b8ec92379f224a65">  245</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a1070b3d16312e080b8ec92379f224a65">sizeHint</a> () <span class="keyword">const</span>;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a2ad915a73abde6f9b370268886bcc8db">  249</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a2ad915a73abde6f9b370268886bcc8db">setScalingFactor</a> (<span class="keyword">const</span> <span class="keywordtype">double</span> scale);</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;      <span class="keyword">public</span> Q_SLOTS:</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a0db8aaa1ae14ea035764b377b127cdfa">  255</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a0db8aaa1ae14ea035764b377b127cdfa">timerCallback</a> ();</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160; </div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a9f30e0d992e6b817ce80c498eb9d073e">  259</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a9f30e0d992e6b817ce80c498eb9d073e">resetCamera</a> ();</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160; </div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6659dde03a0faf4c6a14a5c8846cd423">  263</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6659dde03a0faf4c6a14a5c8846cd423">toggleMeshRepresentation</a> ();</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160; </div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a235cac246cccf366d97ea71cc24dbebf">  267</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a235cac246cccf366d97ea71cc24dbebf">setMeshRepresentation</a> (<span class="keyword">const</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5d">MeshRepresentation</a>&amp; representation);</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a2d86c1281fd735dd10bec2d2aedff1a5">  271</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a2d86c1281fd735dd10bec2d2aedff1a5">toggleColoring</a> ();</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#afc270d87bf577c816100e29c4cc46a0d">  275</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#afc270d87bf577c816100e29c4cc46a0d">setColoring</a> (<span class="keyword">const</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2a">Coloring</a>&amp; coloring);</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160; </div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;      <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160; </div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_f_p_s.html">  280</a></span>&#160;        <span class="keyword">class </span><a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_f_p_s.html">FPS</a></div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        {</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;          <span class="keyword">public</span>:</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;            <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_f_p_s.html">FPS</a> () : fps_ (0.) {}</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160; </div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;            <span class="keyword">inline</span> <span class="keywordtype">double</span>&amp; value ()       {<span class="keywordflow">return</span> (fps_);}</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;            <span class="keyword">inline</span> <span class="keywordtype">double</span>  value ()<span class="keyword"> const </span>{<span class="keywordflow">return</span> (fps_);}</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160; </div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;            <span class="keyword">inline</span> std::string</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;            str ()<span class="keyword"> const</span></div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="keyword">            </span>{</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;              std::stringstream ss;</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;              ss &lt;&lt; std::setprecision (1) &lt;&lt; std::fixed &lt;&lt; fps_;</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;              <span class="keywordflow">return</span> (ss.str ());</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;            }</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160; </div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;          <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160; </div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;            ~<a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_f_p_s.html">FPS</a> () {}</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160; </div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;          <span class="keyword">private</span>:</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160; </div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;            <span class="keywordtype">double</span> fps_;</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        };</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160; </div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        <span class="keyword">template</span> &lt;<span class="keyword">class</span> FPS&gt; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aab6fb46377e40b2f9d6aabf93c76ff3a">  308</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aab6fb46377e40b2f9d6aabf93c76ff3a">calcFPS</a> (<a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_f_p_s.html">FPS</a>&amp; fps)<span class="keyword"> const</span></div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="keyword">        </span>{</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;          <span class="keyword">static</span> <a class="code" href="classpcl_1_1_stop_watch.html">pcl::StopWatch</a> sw;</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;          <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> count = 0;</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160; </div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;          ++count;</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;          <span class="keywordflow">if</span> (sw.<a class="code" href="classpcl_1_1_stop_watch.html#a13f07f01df8ea1feb8d7d5fe3a0d22eb">getTimeSeconds</a> () &gt;= .2)</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;          {</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;            fps.value () = <span class="keyword">static_cast &lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span> (count) / sw.<a class="code" href="classpcl_1_1_stop_watch.html#a13f07f01df8ea1feb8d7d5fe3a0d22eb">getTimeSeconds</a> ();</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;            count = 0;</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;            sw.<a class="code" href="classpcl_1_1_stop_watch.html#a6959d550a6aa1e163ae572f37417bca5">reset</a> ();</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;          }</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        }</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160; </div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;        <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a8645defcb16553cc5db8d51b13779a3f">  326</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a8645defcb16553cc5db8d51b13779a3f">paintEvent</a> (QPaintEvent* event);</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160; </div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;      <span class="keyword">private</span>:</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160; </div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        <span class="keyword">typedef</span> Eigen::Matrix &lt;unsigned char, 3, 1             &gt; <a class="code" href="local_types_8h.html#ab87bacfdad76e61b9412d7124be44c1c">Color</a>;</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;        <span class="keyword">typedef</span> Eigen::Matrix &lt;unsigned char, 3, Eigen::Dynamic&gt; Colors;</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;        <span class="keyword">typedef</span> Eigen::Matrix &lt;unsigned char, 3, 256           &gt; Colormap;</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160; </div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;        <span class="keyword">typedef</span> boost::unordered_map &lt;std::string, CloudXYZRGBNormalPtr&gt; CloudXYZRGBNormalMap;</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160; </div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        <span class="keyword">typedef</span> <a class="code" href="structpcl_1_1ihs_1_1_point_i_h_s.html">pcl::ihs::PointIHS</a>         <a class="code" href="structpcl_1_1ihs_1_1_point_i_h_s.html">PointIHS</a>;</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;        <span class="keyword">typedef</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::ihs::CloudIHS</a>         <a class="code" href="classpcl_1_1_point_cloud.html">CloudIHS</a>;</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;        <span class="keyword">typedef</span> pcl::ihs::CloudIHSPtr      CloudIHSPtr;</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        <span class="keyword">typedef</span> pcl::ihs::CloudIHSConstPtr CloudIHSConstPtr;</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160; </div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;        <span class="keyword">typedef</span> <a class="code" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html">pcl::ihs::detail::FaceVertexMesh</a>                      <a class="code" href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html">FaceVertexMesh</a>;</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;        <span class="keyword">typedef</span> boost::shared_ptr &lt;      FaceVertexMesh&gt;              FaceVertexMeshPtr;</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;        <span class="keyword">typedef</span> boost::shared_ptr &lt;const FaceVertexMesh&gt;              FaceVertexMeshConstPtr;</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        <span class="keyword">typedef</span> boost::unordered_map &lt;std::string, FaceVertexMeshPtr&gt; FaceVertexMeshMap;</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160; </div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a4270be1891ab01ab25db47d0e543017f">  350</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a4270be1891ab01ab25db47d0e543017f">getMeshIsAdded</a> (<span class="keyword">const</span> std::string&amp; <span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160; </div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac7cc298fb768d324fb9eb5b77f508764">  354</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac7cc298fb768d324fb9eb5b77f508764">calcPivot</a> ();</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160; </div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a129885b41e9a4ea72bc50f093db39780">  360</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a129885b41e9a4ea72bc50f093db39780">drawMeshes</a> ();</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160; </div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a5dde6f08612c6c079b0bc8d42fe2973a">  364</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a5dde6f08612c6c079b0bc8d42fe2973a">drawBox</a> ();</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160; </div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7b5c8ff9117593e03d8621943becea03">  368</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7b5c8ff9117593e03d8621943becea03">initializeGL</a> ();</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160; </div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a75e40844574ca2c0bf104f7afb797051">  372</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a75e40844574ca2c0bf104f7afb797051">setupViewport</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> w, <span class="keyword">const</span> <span class="keywordtype">int</span> h);</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160; </div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a49f5606250b6754f465a676536aba29b">  376</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a49f5606250b6754f465a676536aba29b">resizeGL</a> (<span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160; </div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a10332f8176bfebc844cffb371a3b4fa3">  380</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a10332f8176bfebc844cffb371a3b4fa3">mousePressEvent</a> (QMouseEvent* event);</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160; </div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aa037721402932ac339ec1394b6bfb71c">  384</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aa037721402932ac339ec1394b6bfb71c">mouseMoveEvent</a> (QMouseEvent* event);</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160; </div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        <span class="keywordtype">void</span></div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a5b1c9829dce9733267be6d15b470e0f5">  388</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a5b1c9829dce9733267be6d15b470e0f5">wheelEvent</a> (QWheelEvent* event);</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160; </div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;        <span class="comment">// Members</span></div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aed9d61c6a4583a1f8ffd54a5a486b48c">  395</a></span>&#160;        boost::mutex <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aed9d61c6a4583a1f8ffd54a5a486b48c">mutex_vis_</a>;</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160; </div>
<div class="line"><a name="l00398"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#abda33a4ecba2a7c60f2505bd1c717b8e">  398</a></span>&#160;        boost::shared_ptr &lt;QTimer&gt; <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#abda33a4ecba2a7c60f2505bd1c717b8e">timer_vis_</a>;</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160; </div>
<div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#abfe02553331dc435b5adc7275cfff3a9">  401</a></span>&#160;        Colormap <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#abfe02553331dc435b5adc7275cfff3a9">colormap_</a>;</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160; </div>
<div class="line"><a name="l00404"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a3ddd71411321f496566d368848b46051">  404</a></span>&#160;        <span class="keywordtype">float</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a3ddd71411321f496566d368848b46051">vis_conf_norm_</a>;</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160; </div>
<div class="line"><a name="l00407"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a51a7fd037c2699900b7ab0273bd5881f">  407</a></span>&#160;        FaceVertexMeshMap <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a51a7fd037c2699900b7ab0273bd5881f">drawn_meshes_</a>;</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160; </div>
<div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a8b7f56c8a5a025db7b8e81d38b7d7a68">  410</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5d">MeshRepresentation</a> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a8b7f56c8a5a025db7b8e81d38b7d7a68">mesh_representation_</a>;</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160; </div>
<div class="line"><a name="l00413"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a70207c16152f9bca4c3fe2027bfc79d4">  413</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2a">Coloring</a> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a70207c16152f9bca4c3fe2027bfc79d4">coloring_</a>;</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160; </div>
<div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a88d665e892cb792faa11c07377ba9784">  416</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a88d665e892cb792faa11c07377ba9784">draw_box_</a>;</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160; </div>
<div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a315c1bdf461166bbb28fdb3b0cf4274c">  419</a></span>&#160;        <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_box_coefficients.html">BoxCoefficients</a> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a315c1bdf461166bbb28fdb3b0cf4274c">box_coefficients_</a>;</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160; </div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a8b7d9299198d714397416b662948cf8f">  422</a></span>&#160;        <span class="keywordtype">double</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a8b7d9299198d714397416b662948cf8f">scaling_factor_</a>;</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160; </div>
<div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aec96f89a4d63e9fe95c60d77f8165f0a">  425</a></span>&#160;        Eigen::Quaterniond <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aec96f89a4d63e9fe95c60d77f8165f0a">R_cam_</a>;</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160; </div>
<div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aec2280b95ae04b586ee7a0217b49070c">  428</a></span>&#160;        Eigen::Vector3d <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aec2280b95ae04b586ee7a0217b49070c">t_cam_</a>;</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160; </div>
<div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ae9178230064f130ed3440b9695b86f62">  431</a></span>&#160;        Eigen::Vector3d <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ae9178230064f130ed3440b9695b86f62">cam_pivot_</a>;</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160; </div>
<div class="line"><a name="l00434"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac390378cef07c3c80d7b69503d54e083">  434</a></span>&#160;        std::string <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac390378cef07c3c80d7b69503d54e083">cam_pivot_id_</a>;</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160; </div>
<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7b9a3e4cf1401c2a1034dea28fcbff76">  437</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7b9a3e4cf1401c2a1034dea28fcbff76">mouse_pressed_begin_</a>;</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160; </div>
<div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a2013fb078b17fe30da380e246cde289c">  440</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a2013fb078b17fe30da380e246cde289c">x_prev_</a>;</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160; </div>
<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a0bcb7f14712132faec194dfa632ef969">  443</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a0bcb7f14712132faec194dfa632ef969">y_prev_</a>;</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160; </div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;      <span class="keyword">public</span>:</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160; </div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;        EIGEN_MAKE_ALIGNED_OPERATOR_NEW</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;    };</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;  } <span class="comment">// End namespace ihs</span></div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;} <span class="comment">// End namespace pcl</span></div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160; </div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;<span class="comment">// http://doc.qt.digia.com/qt/qmetatype.html#Q_DECLARE_METATYPE</span></div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;Q_DECLARE_METATYPE (<a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5d">pcl::ihs::OpenGLViewer::MeshRepresentation</a>)</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;Q_DECLARE_METATYPE (<a class="code" href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2a">pcl::ihs::OpenGLViewer::Coloring</a>)</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160; </div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;<span class="preprocessor">#endif </span><span class="comment">// PCL_APPS_IN_HAND_SCANNER_OPENGL_VIEWER_H</span></div>
<div class="ttc" id="aclass_mesh_html"><div class="ttname"><a href="class_mesh.html">Mesh</a></div><div class="ttdef"><b>Definition:</b> surface.h:15</div></div>
<div class="ttc" id="aclasspcl_1_1_point_cloud_html"><div class="ttname"><a href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a></div><div class="ttdoc">PointCloud represents the base class in PCL for storing collections of 3D points.</div><div class="ttdef"><b>Definition:</b> point_cloud.h:173</div></div>
<div class="ttc" id="aclasspcl_1_1_stop_watch_html"><div class="ttname"><a href="classpcl_1_1_stop_watch.html">pcl::StopWatch</a></div><div class="ttdoc">Simple stopwatch.</div><div class="ttdef"><b>Definition:</b> time.h:66</div></div>
<div class="ttc" id="aclasspcl_1_1_stop_watch_html_a13f07f01df8ea1feb8d7d5fe3a0d22eb"><div class="ttname"><a href="classpcl_1_1_stop_watch.html#a13f07f01df8ea1feb8d7d5fe3a0d22eb">pcl::StopWatch::getTimeSeconds</a></div><div class="ttdeci">double getTimeSeconds()</div><div class="ttdoc">Retrieve the time in seconds spent since the last call to reset().</div><div class="ttdef"><b>Definition:</b> time.h:86</div></div>
<div class="ttc" id="aclasspcl_1_1_stop_watch_html_a6959d550a6aa1e163ae572f37417bca5"><div class="ttname"><a href="classpcl_1_1_stop_watch.html#a6959d550a6aa1e163ae572f37417bca5">pcl::StopWatch::reset</a></div><div class="ttdeci">void reset()</div><div class="ttdoc">Reset the stopwatch to 0.</div><div class="ttdef"><b>Definition:</b> time.h:93</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_1_1_box_coefficients_html"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_box_coefficients.html">pcl::ihs::OpenGLViewer::BoxCoefficients</a></div><div class="ttdoc">Coefficients for the wireframe box.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:140</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_1_1_f_p_s_html"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer_1_1_f_p_s.html">pcl::ihs::OpenGLViewer::FPS</a></div><div class="ttdoc">Please have a look at the documentation of calcFPS.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:281</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html">pcl::ihs::OpenGLViewer</a></div><div class="ttdoc">Viewer for the in-hand scanner based on Qt and OpenGL.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:108</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a0bcb7f14712132faec194dfa632ef969"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a0bcb7f14712132faec194dfa632ef969">pcl::ihs::OpenGLViewer::y_prev_</a></div><div class="ttdeci">int y_prev_</div><div class="ttdoc">Mouse y-position of the previous mouse move event.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:443</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a0ce727785092d0b94a0c8372147efefa"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a0ce727785092d0b94a0c8372147efefa">pcl::ihs::OpenGLViewer::addMesh</a></div><div class="ttdeci">bool addMesh(const MeshConstPtr &amp;mesh, const std::string &amp;id, const Eigen::Isometry3d &amp;T=Eigen::Isometry3d::Identity())</div><div class="ttdoc">Add a mesh to be drawn.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a0db8aaa1ae14ea035764b377b127cdfa"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a0db8aaa1ae14ea035764b377b127cdfa">pcl::ihs::OpenGLViewer::timerCallback</a></div><div class="ttdeci">void timerCallback()</div><div class="ttdoc">Requests the scene to be re-drawn (called periodically from a timer).</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a10332f8176bfebc844cffb371a3b4fa3"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a10332f8176bfebc844cffb371a3b4fa3">pcl::ihs::OpenGLViewer::mousePressEvent</a></div><div class="ttdeci">void mousePressEvent(QMouseEvent *event)</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a1070b3d16312e080b8ec92379f224a65"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a1070b3d16312e080b8ec92379f224a65">pcl::ihs::OpenGLViewer::sizeHint</a></div><div class="ttdeci">virtual QSize sizeHint() const</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a129885b41e9a4ea72bc50f093db39780"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a129885b41e9a4ea72bc50f093db39780">pcl::ihs::OpenGLViewer::drawMeshes</a></div><div class="ttdeci">void drawMeshes()</div><div class="ttdoc">Draw all meshes.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a17c68b4773e6ba251ce21400e8c95090"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a17c68b4773e6ba251ce21400e8c95090">pcl::ihs::OpenGLViewer::~OpenGLViewer</a></div><div class="ttdeci">~OpenGLViewer()</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a2013fb078b17fe30da380e246cde289c"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a2013fb078b17fe30da380e246cde289c">pcl::ihs::OpenGLViewer::x_prev_</a></div><div class="ttdeci">int x_prev_</div><div class="ttdoc">Mouse x-position of the previous mouse move event.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:440</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a21235013292e15286e59080f3f6ac766"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a21235013292e15286e59080f3f6ac766">pcl::ihs::OpenGLViewer::getDrawBox</a></div><div class="ttdeci">bool getDrawBox() const</div><div class="ttdoc">Check if the box is drawn.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a235cac246cccf366d97ea71cc24dbebf"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a235cac246cccf366d97ea71cc24dbebf">pcl::ihs::OpenGLViewer::setMeshRepresentation</a></div><div class="ttdeci">void setMeshRepresentation(const MeshRepresentation &amp;representation)</div><div class="ttdoc">Set the mesh representation.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a23a40273b9993286c63a5546440c68c8"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a23a40273b9993286c63a5546440c68c8">pcl::ihs::OpenGLViewer::setPivot</a></div><div class="ttdeci">void setPivot(const Eigen::Vector3d &amp;pivot)</div><div class="ttdoc">Set the point around which the camera rotates during mouse navigation.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a2ad915a73abde6f9b370268886bcc8db"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a2ad915a73abde6f9b370268886bcc8db">pcl::ihs::OpenGLViewer::setScalingFactor</a></div><div class="ttdeci">void setScalingFactor(const double scale)</div><div class="ttdoc">Set the scaling factor to convert from meters to the unit of the drawn files.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a2d86c1281fd735dd10bec2d2aedff1a5"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a2d86c1281fd735dd10bec2d2aedff1a5">pcl::ihs::OpenGLViewer::toggleColoring</a></div><div class="ttdeci">void toggleColoring()</div><div class="ttdoc">Toggle the coloring mode.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a315c1bdf461166bbb28fdb3b0cf4274c"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a315c1bdf461166bbb28fdb3b0cf4274c">pcl::ihs::OpenGLViewer::box_coefficients_</a></div><div class="ttdeci">BoxCoefficients box_coefficients_</div><div class="ttdoc">Coefficients of the drawn box.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:419</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a3cd39f509a3f522269a6ff2bbb2b0a5c"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a3cd39f509a3f522269a6ff2bbb2b0a5c">pcl::ihs::OpenGLViewer::OpenGLViewer</a></div><div class="ttdeci">OpenGLViewer(QWidget *parent=0)</div><div class="ttdoc">Constructor.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a3ddd71411321f496566d368848b46051"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a3ddd71411321f496566d368848b46051">pcl::ihs::OpenGLViewer::vis_conf_norm_</a></div><div class="ttdeci">float vis_conf_norm_</div><div class="ttdoc">The visibility confidence is normalized with this value.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:404</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a4270be1891ab01ab25db47d0e543017f"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a4270be1891ab01ab25db47d0e543017f">pcl::ihs::OpenGLViewer::getMeshIsAdded</a></div><div class="ttdeci">bool getMeshIsAdded(const std::string &amp;id)</div><div class="ttdoc">Check if the mesh with the given id is added.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a49f5606250b6754f465a676536aba29b"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a49f5606250b6754f465a676536aba29b">pcl::ihs::OpenGLViewer::resizeGL</a></div><div class="ttdeci">void resizeGL(int w, int h)</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a51a7fd037c2699900b7ab0273bd5881f"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a51a7fd037c2699900b7ab0273bd5881f">pcl::ihs::OpenGLViewer::drawn_meshes_</a></div><div class="ttdeci">FaceVertexMeshMap drawn_meshes_</div><div class="ttdoc">Meshes stored for visualization.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:407</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a5b1c9829dce9733267be6d15b470e0f5"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a5b1c9829dce9733267be6d15b470e0f5">pcl::ihs::OpenGLViewer::wheelEvent</a></div><div class="ttdeci">void wheelEvent(QWheelEvent *event)</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a5dde6f08612c6c079b0bc8d42fe2973a"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a5dde6f08612c6c079b0bc8d42fe2973a">pcl::ihs::OpenGLViewer::drawBox</a></div><div class="ttdeci">void drawBox()</div><div class="ttdoc">Draw a wireframe box.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a62abfdf0d01ef03f72b1e44849b99bc1"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a62abfdf0d01ef03f72b1e44849b99bc1">pcl::ihs::OpenGLViewer::addMesh</a></div><div class="ttdeci">bool addMesh(const CloudXYZRGBNormalConstPtr &amp;cloud, const std::string &amp;id, const Eigen::Isometry3d &amp;T=Eigen::Isometry3d::Identity())</div><div class="ttdoc">Convert an organized cloud to a mesh and draw it.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a6659dde03a0faf4c6a14a5c8846cd423"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6659dde03a0faf4c6a14a5c8846cd423">pcl::ihs::OpenGLViewer::toggleMeshRepresentation</a></div><div class="ttdeci">void toggleMeshRepresentation()</div><div class="ttdoc">Toggle the mesh representation.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a6c26d51ba973360681188f8bb79d1f2a"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2a">pcl::ihs::OpenGLViewer::Coloring</a></div><div class="ttdeci">Coloring</div><div class="ttdoc">How to color the shapes.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:132</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a6c26d51ba973360681188f8bb79d1f2aa31f100dcb00293f323b99c63f22f3a06"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2aa31f100dcb00293f323b99c63f22f3a06">pcl::ihs::OpenGLViewer::COL_ONE_COLOR</a></div><div class="ttdeci">@ COL_ONE_COLOR</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:134</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a6c26d51ba973360681188f8bb79d1f2aacaf9ac71c28e99e03dfec3b97472087f"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6c26d51ba973360681188f8bb79d1f2aacaf9ac71c28e99e03dfec3b97472087f">pcl::ihs::OpenGLViewer::COL_RGB</a></div><div class="ttdeci">@ COL_RGB</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:133</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a6cef087e01bdd8684d810afa379d0a66"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a6cef087e01bdd8684d810afa379d0a66">pcl::ihs::OpenGLViewer::setVisibilityConfidenceNormalization</a></div><div class="ttdeci">void setVisibilityConfidenceNormalization(const float vis_conf_norm)</div><div class="ttdoc">The visibility confidence is normalized with this value (must be greater than 1).</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a70207c16152f9bca4c3fe2027bfc79d4"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a70207c16152f9bca4c3fe2027bfc79d4">pcl::ihs::OpenGLViewer::coloring_</a></div><div class="ttdeci">Coloring coloring_</div><div class="ttdoc">How to color the shapes.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:413</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a75e40844574ca2c0bf104f7afb797051"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a75e40844574ca2c0bf104f7afb797051">pcl::ihs::OpenGLViewer::setupViewport</a></div><div class="ttdeci">void setupViewport(const int w, const int h)</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a783683d28b1badb70e2046d285914385"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a783683d28b1badb70e2046d285914385">pcl::ihs::OpenGLViewer::removeAllMeshes</a></div><div class="ttdeci">void removeAllMeshes()</div><div class="ttdoc">Remove all meshes that are currently drawn.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a7b5c8ff9117593e03d8621943becea03"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7b5c8ff9117593e03d8621943becea03">pcl::ihs::OpenGLViewer::initializeGL</a></div><div class="ttdeci">void initializeGL()</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a7b9a3e4cf1401c2a1034dea28fcbff76"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7b9a3e4cf1401c2a1034dea28fcbff76">pcl::ihs::OpenGLViewer::mouse_pressed_begin_</a></div><div class="ttdeci">bool mouse_pressed_begin_</div><div class="ttdoc">Set to true right after the mouse got pressed and false if the mouse got moved.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:437</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a7d310f171b7f7fa1de9e52bdcb8a4a5d"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5d">pcl::ihs::OpenGLViewer::MeshRepresentation</a></div><div class="ttdeci">MeshRepresentation</div><div class="ttdoc">How to draw the mesh.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:124</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a7d310f171b7f7fa1de9e52bdcb8a4a5da98ae60aa71684a2b547744fae84dc939"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5da98ae60aa71684a2b547744fae84dc939">pcl::ihs::OpenGLViewer::MR_EDGES</a></div><div class="ttdeci">@ MR_EDGES</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:126</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a7d310f171b7f7fa1de9e52bdcb8a4a5daa0b9aaec861866f0a223fc2e41eee025"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7d310f171b7f7fa1de9e52bdcb8a4a5daa0b9aaec861866f0a223fc2e41eee025">pcl::ihs::OpenGLViewer::MR_POINTS</a></div><div class="ttdeci">@ MR_POINTS</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:125</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a7e998f6b14529e76ee7fc44d14b19cd6"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a7e998f6b14529e76ee7fc44d14b19cd6">pcl::ihs::OpenGLViewer::minimumSizeHint</a></div><div class="ttdeci">virtual QSize minimumSizeHint() const</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a823c4d8e2460b71cb11c24241250eb1b"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a823c4d8e2460b71cb11c24241250eb1b">pcl::ihs::OpenGLViewer::setBoxCoefficients</a></div><div class="ttdeci">void setBoxCoefficients(const BoxCoefficients &amp;coeffs)</div><div class="ttdoc">Set the coefficients for the box.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a8645defcb16553cc5db8d51b13779a3f"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a8645defcb16553cc5db8d51b13779a3f">pcl::ihs::OpenGLViewer::paintEvent</a></div><div class="ttdeci">virtual void paintEvent(QPaintEvent *event)</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a88d665e892cb792faa11c07377ba9784"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a88d665e892cb792faa11c07377ba9784">pcl::ihs::OpenGLViewer::draw_box_</a></div><div class="ttdeci">bool draw_box_</div><div class="ttdoc">A box is drawn if this value is true.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:416</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a8b7d9299198d714397416b662948cf8f"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a8b7d9299198d714397416b662948cf8f">pcl::ihs::OpenGLViewer::scaling_factor_</a></div><div class="ttdeci">double scaling_factor_</div><div class="ttdoc">Scaling factor to convert from meters to the unit of the drawn files.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:422</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a8b7f56c8a5a025db7b8e81d38b7d7a68"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a8b7f56c8a5a025db7b8e81d38b7d7a68">pcl::ihs::OpenGLViewer::mesh_representation_</a></div><div class="ttdeci">MeshRepresentation mesh_representation_</div><div class="ttdoc">How to draw the mesh.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:410</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_a9f30e0d992e6b817ce80c498eb9d073e"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#a9f30e0d992e6b817ce80c498eb9d073e">pcl::ihs::OpenGLViewer::resetCamera</a></div><div class="ttdeci">void resetCamera()</div><div class="ttdoc">Reset the virtual camera position and orientation.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_aa037721402932ac339ec1394b6bfb71c"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aa037721402932ac339ec1394b6bfb71c">pcl::ihs::OpenGLViewer::mouseMoveEvent</a></div><div class="ttdeci">void mouseMoveEvent(QMouseEvent *event)</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_aab6fb46377e40b2f9d6aabf93c76ff3a"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aab6fb46377e40b2f9d6aabf93c76ff3a">pcl::ihs::OpenGLViewer::calcFPS</a></div><div class="ttdeci">void calcFPS(FPS &amp;fps) const</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:308</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_abda33a4ecba2a7c60f2505bd1c717b8e"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#abda33a4ecba2a7c60f2505bd1c717b8e">pcl::ihs::OpenGLViewer::timer_vis_</a></div><div class="ttdeci">boost::shared_ptr&lt; QTimer &gt; timer_vis_</div><div class="ttdoc">Visualization timer.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:398</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_abfe02553331dc435b5adc7275cfff3a9"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#abfe02553331dc435b5adc7275cfff3a9">pcl::ihs::OpenGLViewer::colormap_</a></div><div class="ttdeci">Colormap colormap_</div><div class="ttdoc">Colormap.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:401</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_ac00ff8b3177b50bdd144be62789ef3d1"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac00ff8b3177b50bdd144be62789ef3d1">pcl::ihs::OpenGLViewer::setDrawBox</a></div><div class="ttdeci">void setDrawBox(const bool enabled)</div><div class="ttdoc">Enable / disable drawing the box.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_ac2bfcd7f6b8663552d5d92542c3a8a91"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac2bfcd7f6b8663552d5d92542c3a8a91">pcl::ihs::OpenGLViewer::removeMesh</a></div><div class="ttdeci">bool removeMesh(const std::string &amp;id)</div><div class="ttdoc">Remove the mesh with the given id.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_ac390378cef07c3c80d7b69503d54e083"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac390378cef07c3c80d7b69503d54e083">pcl::ihs::OpenGLViewer::cam_pivot_id_</a></div><div class="ttdeci">std::string cam_pivot_id_</div><div class="ttdoc">Compute the pivot for the mesh with the given id.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:434</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_ac7cc298fb768d324fb9eb5b77f508764"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ac7cc298fb768d324fb9eb5b77f508764">pcl::ihs::OpenGLViewer::calcPivot</a></div><div class="ttdeci">void calcPivot()</div><div class="ttdoc">Calculate the pivot for the stored id.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_ad055ccfc24cac9e61328368cfe54bdbb"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ad055ccfc24cac9e61328368cfe54bdbb">pcl::ihs::OpenGLViewer::setPivot</a></div><div class="ttdeci">void setPivot(const std::string &amp;id)</div><div class="ttdoc">Searches the given id in the drawn meshes and calculates the pivot as the centroid of the found geome...</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_ae9178230064f130ed3440b9695b86f62"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#ae9178230064f130ed3440b9695b86f62">pcl::ihs::OpenGLViewer::cam_pivot_</a></div><div class="ttdeci">Eigen::Vector3d cam_pivot_</div><div class="ttdoc">Center of rotation during mouse navigation.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:431</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_aec2280b95ae04b586ee7a0217b49070c"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aec2280b95ae04b586ee7a0217b49070c">pcl::ihs::OpenGLViewer::t_cam_</a></div><div class="ttdeci">Eigen::Vector3d t_cam_</div><div class="ttdoc">Translation of the camera.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:428</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_aec96f89a4d63e9fe95c60d77f8165f0a"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aec96f89a4d63e9fe95c60d77f8165f0a">pcl::ihs::OpenGLViewer::R_cam_</a></div><div class="ttdeci">Eigen::Quaterniond R_cam_</div><div class="ttdoc">Rotation of the camera.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:425</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_aed9d61c6a4583a1f8ffd54a5a486b48c"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#aed9d61c6a4583a1f8ffd54a5a486b48c">pcl::ihs::OpenGLViewer::mutex_vis_</a></div><div class="ttdeci">boost::mutex mutex_vis_</div><div class="ttdoc">Synchronization.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:395</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_af0d83bcc6f2efb1662ff3d15512cd29d"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#af0d83bcc6f2efb1662ff3d15512cd29d">pcl::ihs::OpenGLViewer::stopTimer</a></div><div class="ttdeci">void stopTimer()</div><div class="ttdoc">Stop the visualization timer.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1_open_g_l_viewer_html_afc270d87bf577c816100e29c4cc46a0d"><div class="ttname"><a href="classpcl_1_1ihs_1_1_open_g_l_viewer.html#afc270d87bf577c816100e29c4cc46a0d">pcl::ihs::OpenGLViewer::setColoring</a></div><div class="ttdeci">void setColoring(const Coloring &amp;coloring)</div><div class="ttdoc">Set the coloring mode.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1detail_1_1_face_vertex_mesh_1_1_triangle_html"><div class="ttname"><a href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh_1_1_triangle.html">pcl::ihs::detail::FaceVertexMesh::Triangle</a></div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:69</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1detail_1_1_face_vertex_mesh_html"><div class="ttname"><a href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html">pcl::ihs::detail::FaceVertexMesh</a></div><div class="ttdoc">Mesh format more efficient for visualization than the half-edge data structure.</div><div class="ttdef"><b>Definition:</b> opengl_viewer.h:65</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1detail_1_1_face_vertex_mesh_html_a785e09e17b62acba14a96212f43df019"><div class="ttname"><a href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html#a785e09e17b62acba14a96212f43df019">pcl::ihs::detail::FaceVertexMesh::FaceVertexMesh</a></div><div class="ttdeci">FaceVertexMesh(const Mesh &amp;mesh, const Eigen::Isometry3d &amp;T)</div><div class="ttdoc">Constructor. Converts the input mesh into a face vertex mesh.</div></div>
<div class="ttc" id="aclasspcl_1_1ihs_1_1detail_1_1_face_vertex_mesh_html_a87bcad9d2480e9720bea894f4638c825"><div class="ttname"><a href="classpcl_1_1ihs_1_1detail_1_1_face_vertex_mesh.html#a87bcad9d2480e9720bea894f4638c825">pcl::ihs::detail::FaceVertexMesh::FaceVertexMesh</a></div><div class="ttdeci">FaceVertexMesh()</div><div class="ttdoc">Constructor</div></div>
<div class="ttc" id="acommon_2time_8h_html"><div class="ttname"><a href="common_2time_8h.html">time.h</a></div></div>
<div class="ttc" id="alocal_types_8h_html_ab87bacfdad76e61b9412d7124be44c1c"><div class="ttname"><a href="local_types_8h.html#ab87bacfdad76e61b9412d7124be44c1c">Color</a></div><div class="ttdeci">Color</div><div class="ttdoc">Indices for color components</div><div class="ttdef"><b>Definition:</b> localTypes.h:137</div></div>
<div class="ttc" id="astructpcl_1_1_point_x_y_z_r_g_b_normal_html"><div class="ttname"><a href="structpcl_1_1_point_x_y_z_r_g_b_normal.html">pcl::PointXYZRGBNormal</a></div><div class="ttdoc">A point structure representing Euclidean xyz coordinates, and the RGB color, together with normal coo...</div><div class="ttdef"><b>Definition:</b> point_types.hpp:926</div></div>
<div class="ttc" id="astructpcl_1_1ihs_1_1_point_i_h_s_html"><div class="ttname"><a href="structpcl_1_1ihs_1_1_point_i_h_s.html">pcl::ihs::PointIHS</a></div><div class="ttdef"><b>Definition:</b> common_types.hpp:63</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_9654b8d08f4bba4e84b362c5fd320bee.html">apps</a></li><li class="navelem"><a class="el" href="dir_ac11c26a1461fd63793564f0988e9935.html">in_hand_scanner</a></li><li class="navelem"><a class="el" href="dir_592c26be5866506b3c21059a5b5c9f7b.html">include</a></li><li class="navelem"><a class="el" href="dir_89cdf56555574ff52d8508217dc81dea.html">pcl</a></li><li class="navelem"><a class="el" href="dir_171dbb38306b6e630b34b2c3bc98dc67.html">apps</a></li><li class="navelem"><a class="el" href="dir_8577da4ebd62bf01c56116083f8ec6ff.html">in_hand_scanner</a></li><li class="navelem"><b>opengl_viewer.h</b></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
